package com.zhou.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 题库表
 * </p>
 *
 * @author admin
 * @since 2023-03-02
 */
@Data
@TableName(value = "question_repo")
  @EqualsAndHashCode(callSuper = false)
    public class QuestionRepo implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "repo_id", type = IdType.AUTO)
      private Integer repoId;

      /**
     * 类别名称
     */
      private String repoName;

      /**
     * 创建时间
     */
        @TableField(fill = FieldFill.INSERT)
      private LocalDateTime createTime;

      /**
     * 修改时间
     */
        @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime updateTime;
}
